class MigrateGroupsFolders < ActiveRecord::Migration
  
  class << self
   #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   # Data insert/delete methods
   #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    def up
      create_lookup_table(:folders, :user_groups)
      create_lookup_table(:editor_groups,:folders)
    end
    
    def down
      drop_lookup_table(:folders, :user_groups)
      drop_lookup_table(:editor_groups,:folders)
    end

  end #class block
end
